# -*- coding: utf-8 -*-
# @Time    : 2024/9/10 23:48
# @Author  : Z.J. Zhang
# @Email   : zijingzhang@mail.ustc.edu.cn
# @File    : filenametools.py
# @Software: PyCharm
import datetime
import time


def get_unique_str():
    time_ns = time.time_ns()
    return "%s.%d" % ((datetime.datetime.fromtimestamp(time_ns * 1e-9)).strftime("%Y%m%d_%H%M%S"), time_ns % 1e9)
